<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once (JPATH_COMPONENT.DS.'controller.php');

require_once (JPATH_COMPONENT.DS.'file.upload.php');
require_once(JPATH_COMPONENT.DS.'class.image.php');
require_once(JPATH_COMPONENT.DS.'prepare.process.php');
$controller	= new SanPhamController( );
$controller->execute( JRequest::getCmd('task'));
$controller->redirect();